home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-05-27 | 1.5 KB | 50 lines | [TEXT/MPS ] |
- DiskSwitch
- 5/27/88
-
- DiskSwitch is an INIT file (Startup document) that allows
- Command-Shift-0/1/2 to eject the appropriate diskette
- during a disk switch dialog. This is a partial solution
- to the problem of the system asking you to insert 2
- different disks in the same drive, when you have another
- floppy drive available.
-
- Simply place this file in you SystemFolder and reboot.
- It installs itself silently. If it can be installed then
- it will beep twice during booting.
-
- From then on, you should be able to type Command-Shift-0/1/2
- during a disk switch dialog to eject a floppy disk.
-
- As always, send comments to me.
-
- Larry Rosenstein
- 20525 Mariani M/S 27-AJ
- Cupertino, CA 95014
-
- UUCP: {sun, voder}!apple!lsr
- CSNet: lsr@Apple.COM
- AppleLink: Rosenstein1
-
-
- History:
-
- 05/27/88 version 1.0a1
-
- Technical Info:
-
- The code to handle Command-Shift-0/1/2 was added to the ROM for
- the MacPlus, at the same time as the code to handle Command-.
- (to abort the dialog). Due to a bug, the ROM checks for an
- ASCII code of $00, $01, or $02, instead of $30, $31, and $32.
- (Note that users with a Mac II or Mac SE can type Command-Shift-
- Control-@/A/B to generate the codes the ROM expects!)
-
- The INIT patches PostEvent and checks for Command-Shift-0/1/2
- being posted. If the disk switch dialog is up, it posts
- the event normally, but then posts a key event with the ASCII
- code expected by the ROM.
-
- I detect when we are in the disk switch dialog by patching
- SysError, which is how the dialog is drawn in the first place.
-
-